import java.io.*;
import java.util.Scanner;

public class StreamReadTest {
    public static void main(String[] args) {
       /*Scanner scanner = new Scanner(System.in);
       int i = scanner.nextInt();
       System.out.println("i = " + i);*/

        /*System.out.println("请输入多个字符：");
        // System.in 是一个输入字节流
        InputStream inputStream = System.in;
        try {
            // char read = (char) inputStream.read();
            // System.out.println("您输入的字符是：" + read);

            byte[] bytes = new byte[1024];
            int length = inputStream.read(bytes);

            System.out.println("您输入的字符是：" + new String(bytes, 0, length));
            // 关闭输入流
            inputStream.close();
        } catch (IOException e) {
            e.printStackTrace();
        }*/

        InputStream inputStream = System.in;
        InputStreamReader reader = new InputStreamReader(inputStream);
        BufferedReader bufferedReader = new BufferedReader(reader);
        try {
            String line = bufferedReader.readLine();
            System.out.println(line);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
